package feesmodule.converter;

import feesmodule.domain.JurisdictionServices;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class ConditionSetsConverter {

    JurisdictionServices services;
    public ConditionSetsConverter(JurisdictionServices services)
    {
        this.services = services;
    }
    public ConditionSetsConverter()
    {}

    @XmlElement(name="condition")
    public Collection<ConditionSetConverter> getCondition()
    {
        List<ConditionSetConverter> conditions = new ArrayList<ConditionSetConverter>();
        conditions.add(new ConditionSetConverter (services.getCondition()));
        return conditions;
    }

 
}
